<?php use_helper('Object') ?>

<div class="sf_admin_filters">
<?php echo form_tag('alert/list', array('method' => 'get')) ?>

  <fieldset>
    <h2><?php echo __('filters') ?></h2>
    <div class="form-row">
    <label for="filters_alert_date"><?php echo __('Alert date:') ?></label>
    <div class="content">
    <?php echo input_date_range_tag('filters[alert_date]', isset($filters['alert_date']) ? $filters['alert_date'] : null, array (
  'rich' => true,
  'calendar_button_img' => '/sf/sf_admin/images/date.png',
  'before'=>'from:',
  'middle'=>'<br/>to:&nbsp;&nbsp;&nbsp;&nbsp;',
)) ?>
    </div>
    </div>
    
    <div class="form-row">
    <label for="filters_alert_type"><?php echo __('Alert type:') ?></label>
    <div class="content">
    <?php echo select_tag('filters[alert_type]',options_for_select(CommonValues::getAlertType(), isset($filters['alert_type']) ? $filters['alert_type'] : null,array('include_blank'=>'true') ) ) ?>
																		  
    </div>
    </div>

      </fieldset>

  <ul class="sf_admin_actions">
    <li><?php echo button_to(__('reset'), 'alert/list?filter=filter', 'class=sf_admin_action_reset_filter') ?></li>
    <li><?php echo submit_tag(__('filter'), 'name=filter class=sf_admin_action_filter') ?></li>
  </ul>

</form>
</div>
